package com.regent.central.bill.repository.mrp.dto.billReturn.detail;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Description:
 * @Author: zhw
 * @company: 丽晶软件
 * @project: 巨牛云厂
 * @Date:Created in 2018/6/27
 */
public class ReturnDetailSkuDTO implements Serializable {

    private static final long serialVersionUID = -5827650643681659045L;
    /**
     * 退料的动作的id
     */
    private String actionId;
    /**
     * 物料的id
     */
    private String materialId;
    /**
     * 物料的款号（冗余）
     */
    private String materialNo;
    /**
     * 物料skuId
     */
    private String materialSkuId;
    /**
     * 所属的工单号
     */
    private String missionId;
    /**
     * 工单的货品款号（冗余）
     */
    private String styleNo;
    /**
     * 退料数量
     */
    private BigDecimal returnQuantity;
    /**
     * 退料单价
     */
    private BigDecimal returnPriceUnit;
    /**
     * 退料总价
     */
    private BigDecimal returnPriceTotal;
    /**
     * 倒料的单价
     */
    private BigDecimal arrivePriceUnit;
    /**
     * 倒料的数量
     */
    private BigDecimal arriveQuantity;
    /**
     * 倒料的单号
     */
    private String billArriveNo;
    /**
     * 倒料时间
     */
    private String dateArrive;
    /**
     * 采购单号
     */
    private String purchaseNo;
    /**
     * 采购日期
     */
    private String datePurchase;
    /**
     * 采购数量
     */
    private BigDecimal quantityPurchase;

    /**
     * 记录库存变动记录ID, 用于撤销时撤销库存
     */
    private String stockChangeId;
    /**
     * 退料类型 0 整除退料 1 直接退料
     */
    private int type;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getStockChangeId() {
        return stockChangeId;
    }

    public void setStockChangeId(String stockChangeId) {
        this.stockChangeId = stockChangeId;
    }

    public String getActionId() {
        return actionId;
    }

    public void setActionId(String actionId) {
        this.actionId = actionId;
    }

    public String getMaterialId() {
        return materialId;
    }

    public void setMaterialId(String materialId) {
        this.materialId = materialId;
    }

    public String getMaterialNo() {
        return materialNo;
    }

    public void setMaterialNo(String materialNo) {
        this.materialNo = materialNo;
    }

    public String getMaterialSkuId() {
        return materialSkuId;
    }

    public void setMaterialSkuId(String materialSkuId) {
        this.materialSkuId = materialSkuId;
    }

    public String getMissionId() {
        return missionId;
    }

    public void setMissionId(String missionId) {
        this.missionId = missionId;
    }

    public String getStyleNo() {
        return styleNo;
    }

    public void setStyleNo(String styleNo) {
        this.styleNo = styleNo;
    }

    public BigDecimal getReturnQuantity() {
        return returnQuantity;
    }

    public void setReturnQuantity(BigDecimal returnQuantity) {
        this.returnQuantity = returnQuantity;
    }

    public BigDecimal getReturnPriceUnit() {
        return returnPriceUnit;
    }

    public void setReturnPriceUnit(BigDecimal returnPriceUnit) {
        this.returnPriceUnit = returnPriceUnit;
    }

    public BigDecimal getReturnPriceTotal() {
        return returnPriceTotal;
    }

    public void setReturnPriceTotal(BigDecimal returnPriceTotal) {
        this.returnPriceTotal = returnPriceTotal;
    }

    public BigDecimal getArrivePriceUnit() {
        return arrivePriceUnit;
    }

    public void setArrivePriceUnit(BigDecimal arrivePriceUnit) {
        this.arrivePriceUnit = arrivePriceUnit;
    }

    public BigDecimal getArriveQuantity() {
        return arriveQuantity;
    }

    public void setArriveQuantity(BigDecimal arriveQuantity) {
        this.arriveQuantity = arriveQuantity;
    }

    public String getBillArriveNo() {
        return billArriveNo;
    }

    public void setBillArriveNo(String billArriveNo) {
        this.billArriveNo = billArriveNo;
    }

    public String getDateArrive() {
        return dateArrive;
    }

    public void setDateArrive(String dateArrive) {
        this.dateArrive = dateArrive;
    }

    public String getPurchaseNo() {
        return purchaseNo;
    }

    public void setPurchaseNo(String purchaseNo) {
        this.purchaseNo = purchaseNo;
    }

    public String getDatePurchase() {
        return datePurchase;
    }

    public void setDatePurchase(String datePurchase) {
        this.datePurchase = datePurchase;
    }

    public BigDecimal getQuantityPurchase() {
        return quantityPurchase;
    }

    public void setQuantityPurchase(BigDecimal quantityPurchase) {
        this.quantityPurchase = quantityPurchase;
    }
}
